package com.ys.otms.constant;

public class ThirdConstant {

    public static String KEY = "f0ed6244719243f6a4736266f603b5a1";
    public static String QUERY_URL = "http://api.shipxy.com/apicall/QueryShip?v=2&k=key&enc=1&kw=keyword&max=20";
    public static String GET_SINGLE_URL = "http://api.shipxy.com/apicall/GetSingleShip?v=2&k=key&enc=1&id=shipId&idtype=0";
    //shipIds最多100
    public static String GET_MANY_URL = "http://api.shipxy.com/apicall/GetManyShip?v=2&k=key&enc=1&id=shipIds";
    public static String GET_AREA_URL = "http://api.shipxy.com/apicall/GetAreaShip?v=2&k=key&enc=1&mode=0&xy=jinWei";
    public static String GET_PORT_OF_CALL_BY_SHIP_URL = "http://api.shipxy.com/apicall/GetPortOfCallByShip?v=2&k=key&mmsi=MMSI&begin=BEGIN&end=END&timetype=2";
    public static String GET_SHIP_TRACK_URL = "http://api.shipxy.com/apicall/GetShipTrack?v=2&k=key&enc=1&cut=0&id=MMSI&btm=BEGIN_TIME&etm=END_TIME";

    public static String UPDATE_SHIPS = "http://api.shipxy.com/APICall/UpdateShips?k=key&mmsis=shipIds";
    public static String UPDATE_SHIPS1 = "http://api.shipxy.com/APICall/UpdateShips?k=key";

    //key
    public static String DT_KEY = "9066dd7021104a038779101d326fefb7";
    //获取子key
    public static String DT_GET_COM_URL = "http://api.shipdt.com/DataApiServer/getComKey";
    //船舶基本信息及最新船位查询服务
    public static String DT_QUERY_URL = "http://api.shipdt.com/DataApiServer/getShipId?term=keyword&key=DT_KEY";
    //单一/批量，批量shipIds最多不超过 20 条
    public static String DT_GET_SHIP_URL = "http://api.shipdt.com/DataApiServer/getShipLatestInformation?shipid=SHIP_IDS&key=DT_KEY";
    //船舶历史航次查询服务（最多查询过去 4 个月的历史航次）  航行日志
    public static String DT_GET_SHIP_HISTORY_VOYAGE_URL = "http://api.shipdt.com/DataApiServer/getShipHistoryVoyage?shipid=SHIP_ID&key=DT_KEY&startUtcTime=BEGIN_TIME&endUtcTime=END_TIME&language=cn";
    //船舶历史轨迹查询服务（最多查询过去 4 个月的历史轨迹）  航行轨迹
    public static String DT_GET_SHIP_HISTORY_TRACK_URL= "http://api.shipdt.com/DataApiServer/getShipHistoryTrack?shipid=SHIP_ID&key=DT_KEY&startUtcTime=BEGIN_TIME&endUtcTime=END_TIME";
}
